package com.example.zzl.app;

import android.app.Application;
import android.support.v4.widget.DrawerLayout;

import com.alipay.sdk.auth.AlipaySDK;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;
import com.example.zzl.custom.widget.MyGridView;
import com.example.zzl.utils.DisplayUtils;

import com.example.zzl.utils.GreenDaoManager;

import cn.smssdk.SMSSDK;

import com.example.zzl.utils.specification.VolleySingleton;


/**
 * Created by ligg on 2017/2/7.
 */

public class MyApplication extends Application {

    public static RequestQueue queue;
    public static DrawerLayout dw;
    public static MyGridView gv;
    public static String nichName;
    //AlipayClient alipayClient = new DefaultAlipayClient(URL, APP_ID, APP_PRIVATE_KEY, FORMAT, CHARSET, ALIPAY_PUBLIC_KEY, SIGN_TYPE);

    @Override
    public void onCreate() {
        super.onCreate();
        SMSSDK.initSDK(getApplicationContext(),"1b595250bb780","8a1e119e874d10928b59f77ef8db53ea");
        GreenDaoManager.getInstance(this);
        DisplayUtils.init(this);
        queue = Volley.newRequestQueue(getApplicationContext());
        VolleySingleton.getVolleySingleton(this);
    }
}
